package com.beta.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("delayed_jobs")
public class DelayedJobs implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private Integer priority;

	/**  */
	private Integer attempts;

	/**  */
	private String handler;

	/**  */
	private String lastError;

	/**  */
	private Date runAt;

	/**  */
	private Date lockedAt;

	/**  */
	private Date failedAt;

	/**  */
	private String lockedBy;

	/**  */
	private String queue;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;


	public Integer getId() {
		return this.id;
	}

	public DelayedJobs setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getPriority() {
		return this.priority;
	}

	public DelayedJobs setPriority(Integer priority) {
		this.priority = priority;
		return this;
	}

	public Integer getAttempts() {
		return this.attempts;
	}

	public DelayedJobs setAttempts(Integer attempts) {
		this.attempts = attempts;
		return this;
	}

	public String getHandler() {
		return this.handler;
	}

	public DelayedJobs setHandler(String handler) {
		this.handler = handler;
		return this;
	}

	public String getLastError() {
		return this.lastError;
	}

	public DelayedJobs setLastError(String lastError) {
		this.lastError = lastError;
		return this;
	}

	public Date getRunAt() {
		return this.runAt;
	}

	public DelayedJobs setRunAt(Date runAt) {
		this.runAt = runAt;
		return this;
	}

	public Date getLockedAt() {
		return this.lockedAt;
	}

	public DelayedJobs setLockedAt(Date lockedAt) {
		this.lockedAt = lockedAt;
		return this;
	}

	public Date getFailedAt() {
		return this.failedAt;
	}

	public DelayedJobs setFailedAt(Date failedAt) {
		this.failedAt = failedAt;
		return this;
	}

	public String getLockedBy() {
		return this.lockedBy;
	}

	public DelayedJobs setLockedBy(String lockedBy) {
		this.lockedBy = lockedBy;
		return this;
	}

	public String getQueue() {
		return this.queue;
	}

	public DelayedJobs setQueue(String queue) {
		this.queue = queue;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public DelayedJobs setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public DelayedJobs setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

}
